package pe.edu.upc.dsd.pc1;

import javax.jws.WebService;

@WebService(endpointInterface="pe.edu.upc.dsd.pc1.TipoCambioService")
public class TipoCambioServiceImpl implements TipoCambioService {

	@Override
	public double cambiarADolares(double monto) {
		return monto * 2.7;
	}

	@Override
	public double cambiarASoles(double monto) {
		return monto / 2.7;
	}

}
